<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<include file="./Home/Tpl/Admin/Common/cssjs.html" />
<link rel="stylesheet" type="text/css" href="{$Config.siteurl}statics/js/ueditor/themes/default/ueditor.css"/>
<script type="text/javascript">
$(document).ready(function() {
	$.formValidator.initConfig({autotip:true,formid:"myform",onerror:function(msg){}});
	$("#name").formValidator({onshow:"请输入任务名称",onfocus:"请输入任务名称",oncorrect:"输入正确"}).inputValidator({min:1,max:20,onerror:"请输入任务名称"});
})
</script>
</head>
<body>
<div class="subnav">
  <div class="content-menu ib-a blue line-x"> <a href="{:U("Tasks/Tasks/refresh")}"><em>刷新任务管理</em></a>
  <span>|</span><a href="{:U("Tasks/Tasks/refreshadd")}" class="on"><em>添加任务</em></a></div>
</div>
<div class="pad_10">
  <div class="common-form">
    <form name="myform" action="{:U("Tasks/Tasks/refreshadd")}" method="post" id="myform">
      <table width="100%" class="table_form contentWrap">
        <tbody>
        <tr>
          <td width="100">任务类型：</td>
          <td>{$refreshtype}</td>
        </tr>
        <tr>
          <td>任务名称：</td>
          <td><input type="text" name="name" value="" class="input-text" id="name" size="30" style=" width:300px;"></td>
        </tr>
        <tr>
          <td>任务状态：</td>
          <td><?=Form::radio(array("关闭","开启"),1,'name="isopen"','50');?></td>
        </tr>
        <tr>
          <td>执行时间间隔：</td>
          <td><input type="text" name="dotime" value="30" class="input-text" id="dotime" size="30" style=" width:300px;">分钟(小于5分钟系统将视为5分钟)</td>
        </tr>
        <tr>
          <td>选择{$typename}：</td>
          <td>{$catid}</td>
        </tr>
      </tbody>
      </table>
      <div class="bk15"></div>
      <input name="dosubmit" type="submit" value="提交" class="button" id="dosubmit">
    </form>
  </div>
</div>
</body>
</html>